次の方法で共有


3.1.4.8.1 IWbemLoginClientID::SetClientInfo (Opnum 3)

The IWbemLoginClientID::SetClientInfo method MUST pass the client NETBIOS name and a unique client-generated number to the server.

 HRESULT SetClientInfo(
   [in, unique, string] LPWSTR wszClientMachine,
   [in] long lClientProcId,
   [in] long lReserved
 );

wszClientMachine: MUST specify the client NETBIOS name. This parameter MUST NOT be NULL.

lClientProcId: Specifies a client-generated number. The server MAY use this for logging purposes.<56>

lReserved: This parameter is not used, and its value MUST be NULL.

Return Values: This method MUST return an HRESULT value that MUST indicate the status of the method call. The server MUST return WBEM_S_NO_ERROR (specified in section 2.2.11) to indicate the successful completion of the method.

In case of failure, the server MUST return an HRESULT whose S (severity) bit is set as specified in [MS-ERREF] section 2.1. The actual HRESULT value is implementation dependent.

WBEM_S_NO_ERROR (0x00)