Yurich » 03.02.2006 (Пт) 3:43
Это полностью справедливо только для СИ. Просто ни мелкософт, ни те 3.14здюки, что переводили, не удосужились убрать константы из туториала для VB!
HRESULT WINAPI DirectDrawCreate(
GUID FAR *lpGUID,
LPDIRECTDRAW FAR *lplpDD,
IUnknown FAR *pUnkOuter
);
Parameters
lpGUID
Address of the globally unique identifier (GUID) that represents the driver to be created. This can be NULL to indicate the active display driver, or you can pass one of the following flags to restrict the active display driver's behavior for debugging purposes:
DDCREATE_EMULATIONONLY
The DirectDraw object uses emulation for all features; it does not take advantage of any hardware-supported features.
DDCREATE_HARDWAREONLY
The DirectDraw object never emulates features not supported by the hardware. Attempts to call methods that require unsupported features fail, returning DDERR_UNSUPPORTED.
lplpDD
Address of a variable to be set to a valid IDirectDraw interface pointer if the call succeeds.
pUnkOuter
Allows for future compatibility with COM aggregation features. Presently, however, this method returns an error if this parameter is anything but NULL.
- Какой треугольник не подвластен законам геометрии?
- У которого все углы тупые!