Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves an interface to the DirectDraw object that was used to create this surface.
Syntax
HRESULT GetDDInterface(
[out] LPVOID *unnamedParam1
);
Parameters
[out] unnamedParam1
A pointer to a variable that receives a valid interface pointer if the call succeeds. Cast this pointer to an IUnknown interface pointer; then query for the IDirectDraw7 interface.
Return value
If the method succeeds, the return value is DD_OK.
If it fails, the method can return one of the following error values:
- DDERR_INVALIDOBJECT
- DDERR_INVALIDPARAMS
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | ddraw.h |
| Library | Ddraw.lib |
| DLL | Ddraw.dll |