Collapse All
Parallels C API Reference Guide
ContentsIndex
PreviousUpNext
PrlApiMacro.h
Files  Send Feedback

PrlApiMacro.h 

In some situations we need a complete list of the API library functions to be accessible in one easy step.

Remarks

A good example would be the dynamic loading of the library. It seems like a good idea to keep such a list declared in a single file. This will make the future code support easier. The PrlApiMacro.h file serves this purpose. The following steps illustrate how this file can be used:

  1. Define your own PRL_SDK_WRAP_FOR_EACH_ITERATOR:

#define PRL_SDK_WRAP_FOR_EACH_ITERATOR( method )

  1. Include the PrlApiMacro.h file in your source:

#include "PrlApiMacro.h"

  1. Instantiate the PRL_SDK_WRAP_FOR_EACH( ) macro to execute your specific action for each API method.
Notes

This file contains just a list of names. No static/dynamic type information declared here at all. 

Copyright (c ) 2005-2008 Parallels Software International, Inc. All rights reserved. http://www.parallels.com

Links
Copyright (c) 1999-2009 Parallels Software International Inc.
What do you think about this topic? Send feedback!