mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[PSDK] Fix issues with callback function type declarations
This commit is contained in:
parent
d8f9f7f256
commit
0616df11e6
1 changed files with 9 additions and 36 deletions
|
@ -7,71 +7,49 @@ extern "C" {
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
DWORD
|
DWORD
|
||||||
WINAPI
|
(WINAPI *PGET_RESOURCE_STRING_FN)(
|
||||||
(GET_RESOURCE_STRING_FN)(
|
|
||||||
_In_ DWORD dwMsgID,
|
_In_ DWORD dwMsgID,
|
||||||
_Out_ LPWSTR lpBuffer,
|
_Out_ LPWSTR lpBuffer,
|
||||||
_In_ DWORD nBufferMax);
|
_In_ DWORD nBufferMax);
|
||||||
|
|
||||||
typedef GET_RESOURCE_STRING_FN *PGET_RESOURCE_STRING_FN;
|
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
DWORD
|
DWORD
|
||||||
WINAPI
|
(WINAPI *PNS_DLL_INIT_FN)(
|
||||||
(NS_DLL_INIT_FN)(
|
|
||||||
_In_ DWORD dwNetshVersion,
|
_In_ DWORD dwNetshVersion,
|
||||||
_Out_ PVOID pReserved);
|
_Out_ PVOID pReserved);
|
||||||
|
|
||||||
typedef NS_DLL_INIT_FN *PNS_DLL_INIT_FN;
|
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
DWORD
|
DWORD
|
||||||
WINAPI
|
(WINAPI *PNS_HELPER_START_FN)(
|
||||||
(NS_HELPER_START_FN)(
|
|
||||||
_In_ const GUID *pguidParent,
|
_In_ const GUID *pguidParent,
|
||||||
_In_ DWORD dwVersion);
|
_In_ DWORD dwVersion);
|
||||||
|
|
||||||
typedef NS_HELPER_START_FN *PNS_HELPER_START_FN;
|
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
DWORD
|
DWORD
|
||||||
WINAPI
|
(WINAPI *PNS_HELPER_STOP_FN)(
|
||||||
(NS_HELPER_STOP_FN)(
|
|
||||||
_In_ DWORD dwReserved);
|
_In_ DWORD dwReserved);
|
||||||
|
|
||||||
typedef NS_HELPER_STOP_FN *PNS_HELPER_STOP_FN;
|
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
DWORD
|
DWORD
|
||||||
WINAPI
|
(WINAPI *PNS_CONTEXT_COMMIT_FN)(
|
||||||
(NS_CONTEXT_COMMIT_FN)(
|
|
||||||
_In_ DWORD dwAction);
|
_In_ DWORD dwAction);
|
||||||
|
|
||||||
typedef NS_CONTEXT_COMMIT_FN *PNS_CONTEXT_COMMIT_FN;
|
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
DWORD
|
DWORD
|
||||||
WINAPI
|
(WINAPI *PNS_CONTEXT_CONNECT_FN)(
|
||||||
(NS_CONTEXT_CONNECT_FN)(
|
|
||||||
_In_ LPCWSTR pwszMachine);
|
_In_ LPCWSTR pwszMachine);
|
||||||
|
|
||||||
typedef NS_CONTEXT_CONNECT_FN *PNS_CONTEXT_CONNECT_FN;
|
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
DWORD
|
DWORD
|
||||||
WINAPI
|
(WINAPI *PNS_CONTEXT_DUMP_FN)(
|
||||||
(NS_CONTEXT_DUMP_FN)(
|
|
||||||
_In_ LPCWSTR pwszRouter,
|
_In_ LPCWSTR pwszRouter,
|
||||||
_In_ LPWSTR *ppwcArguments,
|
_In_ LPWSTR *ppwcArguments,
|
||||||
_In_ DWORD dwArgCount,
|
_In_ DWORD dwArgCount,
|
||||||
_In_ LPCVOID pvData);
|
_In_ LPCVOID pvData);
|
||||||
|
|
||||||
typedef NS_CONTEXT_DUMP_FN *PNS_CONTEXT_DUMP_FN;
|
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
BOOL
|
BOOL
|
||||||
WINAPI
|
(WINAPI *PNS_OSVERSIONCHECK)(
|
||||||
(NS_OSVERSIONCHECK)(
|
|
||||||
_In_ UINT CIMOSType,
|
_In_ UINT CIMOSType,
|
||||||
_In_ UINT CIMOSProductSuite,
|
_In_ UINT CIMOSProductSuite,
|
||||||
_In_ LPCWSTR CIMOSVersion,
|
_In_ LPCWSTR CIMOSVersion,
|
||||||
|
@ -81,12 +59,9 @@ WINAPI
|
||||||
_In_ UINT uiReserved,
|
_In_ UINT uiReserved,
|
||||||
_In_ DWORD dwReserved);
|
_In_ DWORD dwReserved);
|
||||||
|
|
||||||
typedef NS_OSVERSIONCHECK *PNS_OSVERSIONCHECK;
|
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
DWORD
|
DWORD
|
||||||
WINAPI
|
(WINAPI *PFN_HANDLE_CMD)(
|
||||||
(FN_HANDLE_CMD)(
|
|
||||||
_In_ LPCWSTR pwszMachine,
|
_In_ LPCWSTR pwszMachine,
|
||||||
_In_ LPWSTR *ppwcArguments,
|
_In_ LPWSTR *ppwcArguments,
|
||||||
_In_ DWORD dwCurrentIndex,
|
_In_ DWORD dwCurrentIndex,
|
||||||
|
@ -95,8 +70,6 @@ WINAPI
|
||||||
_In_ LPCVOID pvData,
|
_In_ LPCVOID pvData,
|
||||||
_Out_ BOOL *pbDone);
|
_Out_ BOOL *pbDone);
|
||||||
|
|
||||||
typedef FN_HANDLE_CMD *PFN_HANDLE_CMD;
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct _CMD_ENTRY
|
typedef struct _CMD_ENTRY
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue