Artifact 4db958676c29a9493fb168e15e36b65d03fc8255
- File
src/win32/rpcnsip.d
-
2015-05-05 06:49:05
- part of checkin
[9b639cf2d6]
on branch trunk
- Working version for update to 2.067.
The problem was __gshared. Replacing it with TLS fixed the issue. Remaining problem is that "hack.d"'s CloseHandle hack is not working anymore.
(user: kinaba) [annotate]
-
2015-05-05 06:49:05
- part of checkin
[9b639cf2d6]
on branch trunk
- Working version for update to 2.067.
/***********************************************************************\
* rpcnsip.d *
* *
* Windows API header module *
* *
* Translated from MinGW Windows headers *
* *
* Placed into public domain *
\***********************************************************************/
module win32.rpcnsip;
private import win32.rpcdce, win32.rpcdcep, win32.rpcnsi;
struct RPC_IMPORT_CONTEXT_P {
RPC_NS_HANDLE LookupContext;
RPC_BINDING_HANDLE ProposedHandle;
RPC_BINDING_VECTOR* Bindings;
}
alias RPC_IMPORT_CONTEXT_P* PRPC_IMPORT_CONTEXT_P;
extern(Windows) {
RPC_STATUS I_RpcNsGetBuffer(PRPC_MESSAGE);
RPC_STATUS I_RpcNsSendReceive(PRPC_MESSAGE, RPC_BINDING_HANDLE*);
void I_RpcNsRaiseException(PRPC_MESSAGE, RPC_STATUS);
RPC_STATUS I_RpcReBindBuffer(PRPC_MESSAGE);
RPC_STATUS I_NsServerBindSearch();
RPC_STATUS I_NsClientBindSearch();
void I_NsClientBindDone();
}