Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

OpenV2 callback function

Opens a resource. The POPEN_V2_ROUTINE type defines a pointer to this function.

Syntax


RESID WINAPI OpenV2(
  _In_ LPCWSTR         ResourceName,
  _In_ HKEY            ResourceKey,
  _In_ RESOURCE_HANDLE ResourceHandle,
  _In_ DWORD           OpenFlags
);

typedef RESID (WINAPI *POPEN_V2_ROUTINE)(
    _In_ LPCWSTR         ResourceName,
    _In_ HKEY            ResourceKey,
    _In_ RESOURCE_HANDLE ResourceHandle,
    _In_ DWORD           OpenFlags
);

Parameters

ResourceName [in]

The name of the resource to open.

ResourceKey [in]

The cluster database key for the cluster that includes the resource represented by ResourceName.

ResourceHandle [in]

The resource handle to pass to the SetResourceStatusEx callback function.

OpenFlags [in]

One of the following flags:

ValueMeaning
0x0

TBD

CLUS_RESDLL_OPEN_RECOVER_MONITOR_STATE
0x00000001

TBD

 

Return value

If the operation was successful, returns a resource identifier (RESID).

If the operation was not successful, returns NULL. Call SetLastError to specify that an error has occurred.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

Header

ResApi.h

See also

Resource DLL Entry-Point Functions

 

 

Show:
© 2015 Microsoft