Many of the header files for the DirectX interfaces include macro definitions for each method. These macros are included to simplify the use of the methods in your programming.
For example, the following example uses the IDirectDraw_CreateSurface macro to call the IDirectDraw::CreateSurface method. The first parameter is a reference to the DirectDraw object that has been created and is invoking the method:
ret = IDirectDraw_CreateSurface (lpDD, &ddsd, &lpDDS,
NULL);
To obtain a current list of the methods supported by macro definitions, see the appropriate header file for the DirectX component you want to use.