diff options
Diffstat (limited to 'api/nci.h')
-rw-r--r-- | api/nci.h | 17 |
1 files changed, 14 insertions, 3 deletions
@@ -7,10 +7,21 @@ #include <Windows.h> -extern DWORD WINAPI NciSetConnectionName(_In_ const GUID *Guid, _In_z_ const WCHAR *NewName); +#ifdef GENERATE_LIB +# define DECLSPEC __declspec(dllexport) +# define STUB { return 0; } +#else +# define DECLSPEC __declspec(dllimport) +# define STUB ; +#endif -extern DWORD WINAPI NciGetConnectionName( + +EXTERN_C DECLSPEC DWORD WINAPI +NciSetConnectionName(_In_ const GUID *Guid, _In_z_ const WCHAR *NewName) STUB + +EXTERN_C DECLSPEC DWORD WINAPI +NciGetConnectionName( _In_ const GUID *Guid, _Out_z_bytecap_(InDestNameBytes) WCHAR *Name, _In_ DWORD InDestNameBytes, - _Out_opt_ DWORD *OutDestNameBytes);
\ No newline at end of file + _Out_opt_ DWORD *OutDestNameBytes) STUB
\ No newline at end of file |