NetServiceEnum 関数は廃止されています。 16 ビット バージョンの Windows との互換性のために含まれています。 他のアプリケーションでは、 サービス関数を使用する必要があります。
構文
NET_API_STATUS NET_API_FUNCTION NetServiceEnum(
LPCWSTR servername,
DWORD level,
LPBYTE *bufptr,
DWORD prefmaxlen,
LPDWORD entriesread,
LPDWORD totalentries,
LPDWORD resume_handle
);
パラメーター
servername
TBD
level
TBD
bufptr
TBD
prefmaxlen
TBD
entriesread
TBD
totalentries
TBD
resume_handle
TBD
戻り値
None
Requirements
| Requirement | 価値 |
|---|---|
| ターゲット プラットフォーム の | ウィンドウズ |
| Header | lmsvc.h |
| Library | NetAPI32.Lib |