コード例 #1
0
 public static extern uint WNetUseConnectionW(HWND hwndOwner, [NativeTypeName("LPNETRESOURCEW")] NETRESOURCEW *lpNetResource, [NativeTypeName("LPCWSTR")] ushort *lpPassword, [NativeTypeName("LPCWSTR")] ushort *lpUserId, [NativeTypeName("DWORD")] uint dwFlags, [NativeTypeName("LPWSTR")] ushort *lpAccessName, [NativeTypeName("LPDWORD")] uint *lpBufferSize, [NativeTypeName("LPDWORD")] uint *lpResult);
コード例 #2
0
 public static extern uint WNetAddConnection3W(HWND hwndOwner, [NativeTypeName("LPNETRESOURCEW")] NETRESOURCEW *lpNetResource, [NativeTypeName("LPCWSTR")] ushort *lpPassword, [NativeTypeName("LPCWSTR")] ushort *lpUserName, [NativeTypeName("DWORD")] uint dwFlags);
コード例 #3
0
 public static extern uint WNetAddConnection4W(HWND hwndOwner, [NativeTypeName("LPNETRESOURCEW")] NETRESOURCEW *lpNetResource, [NativeTypeName("PVOID")] void *pAuthBuffer, [NativeTypeName("DWORD")] uint cbAuthBuffer, [NativeTypeName("DWORD")] uint dwFlags, [NativeTypeName("PBYTE")] byte *lpUseOptions, [NativeTypeName("DWORD")] uint cbUseOptions);
コード例 #4
0
 public static extern uint MultinetGetConnectionPerformanceW([NativeTypeName("LPNETRESOURCEW")] NETRESOURCEW *lpNetResource, [NativeTypeName("LPNETCONNECTINFOSTRUCT")] NETCONNECTINFOSTRUCT *lpNetConnectInfoStruct);
コード例 #5
0
 public static extern uint WNetGetResourceInformationW([NativeTypeName("LPNETRESOURCEW")] NETRESOURCEW *lpNetResource, [NativeTypeName("LPVOID")] void *lpBuffer, [NativeTypeName("LPDWORD")] uint *lpcbBuffer, [NativeTypeName("LPWSTR *")] ushort **lplpSystem);
コード例 #6
0
 public static extern uint WNetGetResourceParentW([NativeTypeName("LPNETRESOURCEW")] NETRESOURCEW *lpNetResource, [NativeTypeName("LPVOID")] void *lpBuffer, [NativeTypeName("LPDWORD")] uint *lpcbBuffer);
コード例 #7
0
 public static extern uint WNetOpenEnumW([NativeTypeName("DWORD")] uint dwScope, [NativeTypeName("DWORD")] uint dwType, [NativeTypeName("DWORD")] uint dwUsage, [NativeTypeName("LPNETRESOURCEW")] NETRESOURCEW *lpNetResource, [NativeTypeName("LPHANDLE")] HANDLE *lphEnum);
コード例 #8
0
 public static extern uint WNetUseConnection4W(HWND hwndOwner, [NativeTypeName("LPNETRESOURCEW")] NETRESOURCEW *lpNetResource, [NativeTypeName("PVOID")] void *pAuthBuffer, [NativeTypeName("DWORD")] uint cbAuthBuffer, [NativeTypeName("DWORD")] uint dwFlags, [NativeTypeName("PBYTE")] byte *lpUseOptions, [NativeTypeName("DWORD")] uint cbUseOptions, [NativeTypeName("LPWSTR")] ushort *lpAccessName, [NativeTypeName("LPDWORD")] uint *lpBufferSize, [NativeTypeName("LPDWORD")] uint *lpResult);