CreateMailslotW method

Pointer<Void> CreateMailslotW(
  1. Pointer<Uint16> lpName,
  2. int nMaxMessageSize,
  3. int lReadTimeout,
  4. Pointer<LPSECURITY_ATTRIBUTES> lpSecurityAttributes,
)

Implementation

ffi.Pointer<ffi.Void> CreateMailslotW(
  ffi.Pointer<ffi.Uint16> lpName,
  int nMaxMessageSize,
  int lReadTimeout,
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpSecurityAttributes,
) {
  return (_CreateMailslotW ??=
      _dylib.lookupFunction<_c_CreateMailslotW, _dart_CreateMailslotW>(
          'CreateMailslotW'))(
    lpName,
    nMaxMessageSize,
    lReadTimeout,
    lpSecurityAttributes,
  );
}