共用方式為


4.2.2 IDL_DSAExecuteScript (Opnum 1)

The IDL_DSAExecuteScript method executes a maintenance script.

 ULONG IDL_DSAExecuteScript(
   [in] handle_t hRpc,
   [in] DWORD dwInVersion,
   [in, ref, switch_is(dwInVersion)] 
     DSA_MSG_EXECUTE_SCRIPT_REQ* pmsgIn,
   [out, ref] DWORD* pdwOutVersion,
   [out, ref, switch_is(*pdwOutVersion)] 
     DSA_MSG_EXECUTE_SCRIPT_REPLY* pmsgOut
 );

hRpc: The RPC binding handle, as specified in [C706].

dwInVersion: The version of the request message.

pmsgIn: A pointer to the request message.

pdwOutVersion: A pointer to the version of the response message.

pmsgOut: A pointer to the response message.

Return Values: 0 if successful, or a Windows error code if a failure occurs.