Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

49 lines
1.5 KiB

//+--------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 2002
//
// File: DynMpr.hxx
//
// Contents: Macro for Dynamically loading/unloading MPR entry points
//
// History: 09-Feb-02 dlee Created
//
//---------------------------------------------------------------------------
#pragma once
DeclDynLoad5( Mpr,
WNetOpenEnumW,
DWORD,
APIENTRY,
( DWORD dwScope, DWORD dwType, DWORD dwUsage, LPNETRESOURCEW lpNetResource, LPHANDLE lphEnum ),
( dwScope, dwType, dwUsage, lpNetResource, lphEnum ),
WNetEnumResourceW,
DWORD,
APIENTRY,
( HANDLE hEnum, LPDWORD lpcCount, LPVOID lpBuffer, LPDWORD lpBufferSize ),
( hEnum, lpcCount, lpBuffer, lpBufferSize ),
WNetCloseEnum,
DWORD,
APIENTRY,
( HANDLE hEnum ),
( hEnum ),
WNetGetResourceInformationW,
DWORD,
APIENTRY,
( LPNETRESOURCEW lpNetResource, LPVOID lpBuffer, LPDWORD lpcbBuffer, LPWSTR * lplpSystem ),
( lpNetResource, lpBuffer, lpcbBuffer, lplpSystem ),
WNetGetNetworkInformationW,
DWORD,
APIENTRY,
( LPCWSTR lpProvider, LPNETINFOSTRUCT lpNetInfoStruct ),
( lpProvider, lpNetInfoStruct )
);