CreateMailslotA method

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

Implementation

ffi.Pointer<ffi.Void> CreateMailslotA(
  ffi.Pointer<ffi.Int8> lpName,
  int nMaxMessageSize,
  int lReadTimeout,
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpSecurityAttributes,
) {
  return (_CreateMailslotA ??=
      _dylib.lookupFunction<_c_CreateMailslotA, _dart_CreateMailslotA>(
          'CreateMailslotA'))(
    lpName,
    nMaxMessageSize,
    lReadTimeout,
    lpSecurityAttributes,
  );
}